﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using CMN.Models;
using CMN.Models.Interfaces;
using CMN.Entity;
using CMN.Controllers;
using CMN.Controllers.Filters;
using CMN.Common;
using System.Text;
using CMN.UI;
using CMN.Framework;
using CMN.BLL;

namespace CMN.Controllers
{
   
    [LoggerFilter()]
    [ExceptionFilter()]
    [ExecutionTimingAttribute()]
    public class NoticeController : Controller
    {
        [CompressFilter]
        [CacheFilterAttribute]
        public string Index(int id)
        {

           
            PageHelperEntity pageHelper = new PageHelperEntity();
            pageHelper.ContentId = id;
            pageHelper.Url = string.Concat("/notice/", pageHelper.ContentId.ToString());

            pageHelper.Type = PageType.OtherPage;
            pageHelper.OtherTypeName = "notice";
            BaseTemplateDisplay articleTemplate = new BaseTemplateDisplay(pageHelper);
           

            string strRetrun = articleTemplate.Display();
            articleTemplate.Dispose();

            return strRetrun ;
         
        }

       
        
    }
}
